package com.szqhyxj.youxiangju.biz.receivables;

import com.szqhyxj.youxiangju.BasePresenter;
import com.szqhyxj.youxiangju.PromptView;
import com.szqhyxj.youxiangju.biz.receipt.ReceiptModel;

import java.util.List;

/**
 * Created by leung on 2019/1/8.
 */

public interface ReceivablesContract {
    interface ReceivablesView extends PromptView {
        void showEnClickable();

        void showClickable();

        void showsavaCard(String cardinfo);

        void showReceivablesDetail(String id);

        void setTip(String tip);

        void setTip1(String tip);

        void showTextSize();

        void showSupportBankList(List<ReceivablesModel.Response> supportBanklist);

        void showAcquiredVerificationCodeSuccess();

        void showAcquiringVerificationCode(int min);

        void showAcquiredVerificationCode();

        void addBean(ReceivablesModel.Receivables receiptEntity);

    }

    interface ReceivablesPresenter extends BasePresenter {
        void init();

        void setAmount(String money, String balance);

        void getCard();

        void commit();

        void getUserInfo();

        void getSupportBank();

        void setBtName(String btname);

        void setBtCode(String btCode);

        void setBankCard(String bankCard);

        void setCardPhone(String cardPhone);

        void setVerificationCode(String verificationCode);

        void acquireVerificationCode();
    }
}
